﻿@using Combres.Mvc

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title - msacademic.hr </title>

    @Html.CombresLink("adminJs")
    @Html.CombresLink("publicCss")

    <link rel="shortcut icon" type="image/x-icon" href="~/Content/Images/favicon.ico">
    @if (!IsSectionDefined("FacebookCustomMeta"))
    {
        <meta property="og:title" content="msacademic.hr" />
        <meta property="og:type" content="website" />
        <meta property="og:url" content="http://msacademic.hr" />
        <meta property="og:image" content="http://msacademic.hr/Content/Images/facebook-image.png" />
        <meta property="og:site_name" content="msacademic.hr" />
        <meta property="og:description"
              content="MSAcademic je Microsoftov portal namijenjem studentima,entuzijastima i mladim ljudima koji se žele informirati o svijetu Microsoftovih tehnologija. Ovdje možete pronaći informacije o tome što Microsoft može besplatno pružiti vama kao studentima!" />
        <meta property="fb:app_id" content="345694805481703" />
    }
    else
    {
        @RenderSection("FacebookCustomMeta", false)
    }

    <script type="text/javascript">
        /* Rewire-a eventove nakon AJAX success-a */
        $(function () { 
            var mobileMenu          = $('.mobile-menu .menu-and-search'),
                mobileMenuOpener    = $('.mobile-menu .menu-opener');

            mobileMenuOpener.on('click', function () { mobileMenu.toggleClass('ui-state-hidden') });

            msacademic.wireActionEvents(); 
        });
    </script>
</head>
<body>
    <div class="msacademic @ViewData["CurrentView"]">
      
        <div class="header">
            <div class="inner">
                <a href="@Url.RouteUrl("Index")" class="logo ui-visible-desktop"> msacademic </a>

                <ul class="menu-and-search ui-visible-desktop clearfix">
                    <li class="home">@Html.RouteLink("naslovnica", "Index")</li>
                    <li class="news">@Html.RouteLink("novosti", "NewsContentSection")</li>
                    <li class="articles">@Html.RouteLink("članci", "ArticlesContentSection")</li>                    
                    <li class="microsofts-and-students">@Html.RouteLink("microsoft i studenti", "MicrosoftAndStudents")</li>                    
                    <li class="search">
                        <a href="@Url.RouteUrl("Search")"> 
                            <i class="icon-search"></i> 
                        </a>
                    </li>
                </ul>

                <div class="mobile-menu ui-visible-mobile">

                    <div class="header-content">
                        <a href="@Url.RouteUrl("Index")" class="home"><img src="~/Content/Images/msacademic-sign.png" /></a>
                        <i class="menu-opener icon-reorder"></i>
                    </div>

                    <ul class="menu-and-search ui-state-hidden clearfix">
                        <li class="home">@Html.RouteLink("naslovnica", "Index")</li>
                        <li class="news">@Html.RouteLink("novosti", "NewsContentSection")</li>
                        <li class="articles">@Html.RouteLink("članci", "ArticlesContentSection")</li>                    
                        <li class="microsofts-and-students">@Html.RouteLink("microsoft i studenti", "MicrosoftAndStudents")</li>  
                        <li class="search"> @Html.RouteLink("pretraga", "Search")</li>                  
                    </ul>
                </div>

                

            </div>

            <div class="beta"><img src="~/Content/Images/beta-flag.png" /></div>
        </div>

        <div class="content">
            <div class="inner"> @RenderBody() </div>
        </div>

        <div class="footer">
            <div class="inner">
                <div class="site-map">
                    <a href="@Url.RouteUrl("Index")" class="logo"> Logo </a>
                    <ul class="menu-and-search">
                        <li>@Html.RouteLink("naslovnica", "Index")</li>
                        <li>@Html.RouteLink("novosti", "NewsContentSection")</li>
                        <li>@Html.RouteLink("microsoft i studenti", "")</li>
                        <li>@Html.RouteLink("pretraga", "Search")</li>
                    </ul>
                </div>

                <div class="authors">
                </div>
            </div>
        </div>

        <div class="popupRoot"></div>

    </div>

    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=417828661599932";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    <script src="//static.getclicky.com/js" type="text/javascript"></script>
    <script type="text/javascript">try{ clicky.init(66540987); }catch(e){}</script>
    <noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/66540987ns.gif" /></p></noscript>
</body>
</html>
